#include "LinkStack.hpp"
int main()
{
    LinkStack<int> a;
    for (long i = 0; i < 10; i++)
    {
        a.Push((i + 1));
    }
    while (!a.IsEmpty())
    {
        std::cout <<*a.GetTop() << " ";
        a.Pop();
    }
    std::cout << std::endl;
}